package model

import (
	"time"
)

type AuDispute struct {
	Did            int       `xorm:"not null pk autoincr INT(11)"`
	OrderId        int       `xorm:"not null index INT(11)"`
	OrderNo        string    `xorm:"not null VARCHAR(20)"`
	PoId           int       `xorm:"not null index INT(11)"`
	PoNo           string    `xorm:"not null VARCHAR(20)"`
	CarPlateNumber string    `xorm:"not null VARCHAR(255)"`
	OdId           int       `xorm:"not null index INT(11)"`
	OdType         int       `xorm:"not null TINYINT(1)"`
	Remark         string    `xorm:"VARCHAR(255)"`
	DisputeReason  int       `xorm:"not null TINYINT(1)"`
	EmpId          int       `xorm:"not null index INT(11)"`
	Status         int       `xorm:"not null TINYINT(1)"`
	AuditingResult int       `xorm:"not null TINYINT(1)"`
	RejectResult   string    `xorm:"not null VARCHAR(255)"`
	Createtime     time.Time `xorm:"not null DATETIME"`
	Audittime      time.Time `xorm:"not null DATETIME"`
	Canceltime     time.Time `xorm:"not null DATETIME"`
	OrderStatus    int       `xorm:"not null SMALLINT(6)"`
}
